package main

import (
	"fmt"
	"sync"
)


func main(){
	var sm sync.Map
	sm.Store("dsadsadasdasdfa",map[string]interface{}{"id":"1111213"})
	ids,ok := sm.Load("dsadsadasdasdfa")
	if !ok {
		fmt.Println("不存在的数据")
	}
	fmt.Println(ids.(map[string]interface{})["id"])
}
